package com.kayt.cyberBar.cyber.business.service;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.cyber.business.entity.po.BCyberExtraFinance;
import com.kayt.cyberBar.cyber.business.entity.vo.CyberExtraFinanceListVO;
import com.kayt.cyberBar.cyber.business.entity.vo.CyberExtraFinanceVO;
import com.kayt.cyberBar.cyber.business.entity.vo.CyberFinanceStatisticsVO;
import com.kayt.cyberBar.cyber.business.entity.vo.CyberQueryVO;

@Path("/extra")
@Produces({"application/json","application/xml"})
@Consumes({"application/json"})
public interface ICyberExtraFinanceService {

	@POST
	@Path("addFinance.do")
	public ServerResponse<CyberExtraFinanceVO> addFinance(CyberExtraFinanceVO vo);

	@POST
	@Path("updateFinance.do")
	public ServerResponse<String> updateFinance(CyberExtraFinanceVO vo);

	@GET
	@Path("deleteFinance.do")
	public ServerResponse<String> deleteFinance(@QueryParam("")String code);

	@GET
	@Path("getFinance.do")
	public ServerResponse<CyberExtraFinanceVO> getFinance(@QueryParam("")CyberExtraFinanceVO vo);

	@POST
	@Path("addFinanceList.do")
	public ServerResponse<String> addFinanceList(CyberExtraFinanceListVO vo);

	@GET
	@Path("getFinanceList.do")
	public ServerResponse<PageData<BCyberExtraFinance>> getFinanceList(@QueryParam("")CyberQueryVO query);

	@GET
	@Path("getStatisticsList.do")
	public ServerResponse<PageData<CyberFinanceStatisticsVO>> getStatisticsList(@QueryParam("")CyberQueryVO query);

}
